strip spaces from catalogue variants (fixes #1145)