Restore disabling of paths ending in ~