Added default value if Hash path not found

I've added the possibility to define a default value in case the Hash path could not be found.