Create a ProjectComponentSelector from the provided input string. Strings must be in the format ":path".