Print an error message if the test folder cannot be found (#11184)

Change-Id: I0642a4a51de5f989811246003415f05688f49f4e