add utility methods for parsing ProjectRef from a string.