bugfix: failed to find the current version when the origin is given; imported from the upstream

commit 8d1bcd19e68d0b1b3576a77e233211dca0e2473a
Author: Dave Eddy <dave@daveeddy.com>
Date:   Wed Sep 3 19:55:03 2014 -0400

    fix FreeBSD pkgng provider (version detection)
Merge pull request #325 from reallyenglish/10_1_mitsuruy

bugfix: failed to find the current version when the origin is given; imp...