Issue #2139407 by amateescu: HEAD broken on Windows.