Fix backend version string parsing
in pleroma!1291 (merged) we changed the version string a bit, now instead of $VERSION-$NUMBER_OF_COMMITS_SINCE_LAST_TAG-g$SHORT_COMMIT_HASH
it is $VERSION-$NUMBER_OF_COMMITS_SINCE_LAST_TAG-g$SHORT_COMMIT_HASH-$BRANCH
if $BRANCH
is not master