• Simplify check for valid path names. The old check was triggering a bug in perl (Attempt to free unreferenced scalar) that would eventually lead to a crash.