Fix Bug PUP-1051 (platforms mistook for versions)

Please commit this change or something similar to fix PUP-1051. It's an extremely annoying bug that makes puppet runs take forever whenever you ensure=>"some_version" on a gem that has platform components.

Cheers,

Pedro