Using the rake import task doesn't clear the cache
When users import repositories via the rake import task, they also have to clear the cache or no repositories may show:
sudo gitlab-rake cache:clear
We should either call this ourselves or invalidate each project for each project.
Redis may not be up, so we may have to catch an exception if it occurs.