fixed an issue where a lookup would fail due to recursive children

This fix resolves an issue where we were performing a hard key lookup but this was failing due to how the method uses group recursion. This change now allows the method to return None and set an empty list if the key is not ready or has no valid hosts.