Fixed a problem with getting the current hash that arose when the client wasn't initialised from the client directory.