(maint) Clearer error message to reflect origin.

Zachary ran across a case where this error message was being thrown up
and it wasn't immediately clear that it occured during the collection of
exported resources, due to references to local resources.  Make this
clearer for future cases.