fixed error where invalid include name would cause hang
Merge pull request #12 from flyvictor/WEB-2763-invalid-links

fixed error where invalid include name would cause hang