Bugfixes inside dropleps, e.g. for sanitizePath