Refactor a tiny bit of data access in views to the controller

- Spotted by @jamiecobbett in https://github.com/alphagov/transition/pull/329.
Merge pull request #330 from alphagov/refactor_site_tags_data_access_out_of_view

Refactor a tiny bit of data access in views to the controller