Protect against non-existent paths

I ran into this problem when I accidentally put the wrong path name for my tests in my IOC Factory Container project.

Seems like a really small fix, and I'm not sure how to directly test it.