#560 - Fix server config validation issues.

Sorry for the confusion. This is the same as PR https://github.com/gocd/gocd/pull/611, which I merged by mistake.
'$' is not defined.