Fix `luarocks lint`.

Now it does not crash on rockspecs with malformed version.
Merge pull request #285 from mpeterv/fix-lint

Fix luarocks lint