Train 2013.10.09 hotfix 3976 undefined sitename

@seanmonstar - whatcha think, I've been overloading @6a68 with PRs lately.

Before merge, I want to make sure this isn't going to bite us anywhere else.

fixes #3976