Fix check for tempest tests name

All tests except `tempest.api.*` are invalid.

Change-Id: Ic8cbc64ce43fec982cc7d60c1301a4b1fece7632
Closes-bug: #1316986
Merge "Fix check for tempest tests name"