1.2.1 bugfix for issue 3328

I think this should be `if (!path) return path;`