Could we add a better heuristic to this? Those messages seem a bit too generic. Alternatively verifying that the /repository directory does not exist might help too