add git repository_exists method