builder: improve parentName output for debugging