Interjecting a ProjectImpl into the ancestors list so that descriptors asking for @AncestorInPath AbstractProject context will have something to work with.
Tries to use a default branch if one exists, else some branch, else a dummy project.