ObjectClassification: Headless: Verify that the project file is ready to be used for predictions before attempting to run headless prediction.
Otherwise the error is very unhelpful.  (See #987)