AptPreferences: Support spaces in origin fields