get_version: always include the release number, even if it's 0

Previously, the verion number would be "a.b.c" unless c==0, in which
case it would be "a.b".

Now the version number scheme is always "a.b.c", even if c==0.