Fetch site_name if only joiner is enabled.

- Change code to fetch site_name if joiner or spec_updater are enabled.
- Fixes GGUS ticket 99308.
Correct code to PEP8.
Merge pull request #2 from apel/ggus_99308

Fix for GGUS 99308