Don't traceback when comparing nested directories with non-directories. (Closes: #288)
mentioned in issue #292 (closed)