Make run-tests scripts directory safe
Merge pull request #705 from pulp/barnabycourt-build-coverage

Fix test directory list regression