Fix Bug54847.php for broken hashes

Change-Id: I2ceae4cda8d591af8bfe2e9d1bce645f296ba945