fix package versioning detection
Merge pull request #29 from wpottier/fix/package-versioning

fix package versioning detection (fix #28)