In readline before 5.2 the filename_dequoting_function is protected by a condition we are unable to satisfy, effectively disabling the hook.