deb.get_version: split get_version function