Fix failure in testPsfFlux.py

This failure was expected given the code changes on this branch; just need to
wrap some of the test code in a try block, which I've done via assertRaises.
Commits for review of DM-984