[Command::Spec] Fix specification paths

Closes https://github.com/CocoaPods/CocoaPods/issues/2154