Don't 500 on user uploads page

Previously errored if commtrack wasn't enabled because the variable
wasn't getting set.
Merge pull request #2027 from dimagi/user_upload_500

Don't 500 on user uploads page