1.7 safe path fix for whitelist export