map_path_to_methods: do not skip folders which evaluate to false