Sunrise: Ensure $current_site is an object

Thanks to @nacin for the tip

Closes gh-316
Ref #303