instead of hardcoding 49 backspaces use needles to detect factory repo

tested as https://openqa.opensuse.org/tests/12279