l3build: Test for testfiledir as part of check()

Done in this way, there is not an odd error if there are no tests but
testfiledir is not set to "".


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5124 de43f980-851b-0410-b2f7-c40aca1f87e0