[SUREFIRE-1005] Fix test pattern matching in scanned dependencies - this time for real