Preferences: Don't use get_options()

This is in preparation of migrating the config module
3 jobs for master in 4 minutes and 25 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #18054
run-appdata

00:00:09

passed #18053
run-tests

00:03:55

 
  Build
passed #18055
run-build

00:00:20