Rename variable in get_revisions method to $parent.

Corrects regression in ebabff8beba2d6babe12c75f942a4818f053f89f