am 8bde036e: Merge "Use test\'s `-d\' option when checking for a directory."

* commit '8bde036ebd74ce94477e65077bed6dea9c29616b':
  Use test's `-d' option when checking for a directory.