Cater for users trying to add or delete repos when not in a valid git repository