Fixed problems with default project in stub builder factory.