aosp.py: Avoid infinite recursion calling