Add exception logic around missing ProviderMachines.
	modified:   core/models/instance.py