[mb2] handle unsupported char in git tag

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>