Try a bit harder to strip the exe path.

May help #6912.