Ensure root gadget __path attribute do not contain hash