Fix Hash::get() not returning values with special paths

Refs #4574 
Maybe. I can live with either. You can send a PR later when you've optimised it. :smile: