Refactor getVersion(), address code review comments
Refactor getVersion(), address code review comments

mappu/restic,pombredanne/restic,arithmetric/restic,jayme-github/restic,ar-jan/restic,fawick/restic,restic/restic,ckemper67/restic,middelink/restic,bchapuis/restic,stuertz/restic,howeyc/restic,ar-jan/restic,restic/restic,middelink/restic,episource/restic,kurin/restic,stuertz/restic,byo/restic,fawick/restic,jayme-github/restic,kurin/restic,byo/restic