Small bug - Assembly.GetEntryAssembly() can return null in a bunch of scenarios (including test runners).