Fix accidental bad copy paste
Use get_tracker_model_or_404 rather than NameError

Oops.
Remove numerous if True bits

These can safely be removed since the function stops executing in the case of a
tracker model being absent, due to the 404 getting raised.