TW-27263 - Fix for package trigger when package is missing on feed

As per http://youtrack.jetbrains.com/issue/TW-27263 I think this covers most of the test cases required.  Seems like a fairly simple fix, let me know if I missed anything?