Make extension testing ignore symlinks.

This allows extensions to have a symlinked extension directory so that
they can run their own tests.