Rename variable in get_revisions method to $parent.

Corrects regression in ebabff.