What about URI::ABS_URI.match(artifact).present?