if requesting a deep non-existing path you'll get an undefined property error, fixes #3