Adapt to new .gems file format

Guys, this is bad, dep 1.0.7 is broken.

![dep](https://cloud.githubusercontent.com/assets/132684/3342250/8b5ba2b2-f890-11e3-8de2-58e3f1d1ccf8.gif)

This PR solves it by adapting to invalid argument check to the new format.