[PATCH] selftests: lib: fix prime_numbers module search and skip logic