Fixes to previous commit
If the current site is unknown, you can't get specific site settings for it.
Getting current site information is global information