CLC-4651 Fix error handling in My Financials

https://jira.ets.berkeley.edu/jira/browse/CLC-4651

The bug triggered a "NameError undefined local variable or method" exception. It took a while to catch this because the exception results in the correct message being delivered to the client. We need to fix it, however, because the exception interferes with our logging the real problem.