Fix edit project page when repo does not exist