Fixing dir listing in test to not be case sensitive (related to JENKINS-24317)