Graceful exit in case of non-git repository