assert was too strict: gave false results for long paths

assert no simply checks whether paths was set.