fix JCLOUDS-362 inferring project-id from identity when there is a hyphen