[script] use a nicer magic string to read the rpm queryformat output

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