When the remove_all_path option is set, but no add_path option, remove_all_path is simply ignored. This patch fixes this.