643e0c
Reduce code duplication by using progit.get_repo_path This returns the path of the project depending if it is a fork or not and check if the git repo exists or not (returns a 404 otherwise).