assert was too strict: gave false results for long paths

assert no simply checks whether paths was set.
Merge remote-tracking branch 'origin/master' into issue-#16