Extract safeGetPath out of validateRequiredProperty
Merge pull request #6 from zendesk/clean_up

Extract safeGetPath out of validateRequiredProperty and bug fix