PreBuild: Rescue from NullReferenceException

Also fixed #568 via https://github.com/madskristensen/zencoding/pull/27.