Fix the test used to guess if a path is a collection