Fix for broken unit test if the automatic instance does not exist.