Original Submission These REST routes should not crash, this case should be properly managed.
Trace:
Unhandled exception: in_creation.git is not a directory:
#0 /usr/share/tuleap/plugins/git/include/GitPHP/git/Project.php(285): Tuleap\Git\GitPHP\Project->SetProject('in_creation.git')
#1 /usr/share/tuleap/plugins/git/include/GitPHP/git/ProjectProvider.php(32): Tuleap\Git\GitPHP\Project->__construct('/var/lib/tuleap...', 'in_creation.git')
#2 /usr/share/tuleap/plugins/git/include/REST/v1/GitFileRepresentationFactory.php(40): Tuleap\Git\GitPHP\ProjectProvider->__construct(Object(GitRepository))
#3 /usr/share/tuleap/plugins/git/include/REST/v1/RepositoryResource.class.php(739): Tuleap\Git\REST\v1\GitFileRepresentationFactory->getGitFileRepresentation('raaaa', 'master', Object(GitRepository))
#4 [internal function]: Tuleap\Git\REST\v1\RepositoryResource->getFileContent(68, 'raaaa', 'master')
#5 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(1065): call_user_func_array(Array, Array)
#6 /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php(304): Luracast\Restler\Restler->call()
#7 /usr/share/tuleap/src/www/api/index.php(120): Luracast\Restler\Restler->handle()
#8 {main}