Fix for message on resource-only non-DITA files (e.g., png). #1597