[PATCH] selftests: fix dependency checker script