Do we do this check multiple places? I'd be nice with an `EnvironmentUtility` in core, à la [NuGet](https://nuget.codeplex.com/SourceControl/latest#src/Core/Utility/EnvironmentUtility.cs).