no hasOwnProperty on resolveRef, gh-844

remove hasOwnProperty check on resolveRef. Fixes #844