Refactor pm_parse_project_version() to transform it into pm_parse_request() and pm_parse_version().