fix a couple of bugs in rebar_vsn_plugin