[Validator] Ensure that the parameter source URLs are used in the Podfile

Didn't work before because `instance_eval` changes the scope of the block