Rename repository field in the Project model to repository_url to make it more obvious and in sync with views
Use repository_type now that it's available