Raise InvalidRepository error for non-valid git repositories See merge request gitlab-org/gitlab-ce!18594
Errno::EBUSY