Fix nopathtoitem error
Log a warning if assumption about path is not correct.
Merge pull request #870 from edx/fix/vik/oe-nopath

Fix nopathtoitem error