Fixed Directory::has()
Fixed Directory::has()

Directory::has() used to return pretty random results when called several
times in a row. This commit should fix that.

tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball