fix failure when cli argument matches configured testdir, closes #4