Fix executable bit check to work on Mac OS X.

* Ignore results from virtualenv folder.