Fix validation of target when creating new Projects