Update indexer.php

Reduce the verbosity in the owncloud.log (and save a little bit of time) by skipping the extractMetadata() logic when dealing with directories