Update ProjectService.php

Check added for the project has versions