[SPARK-972] Added detailed callsite info for ValueError in context.py (resubmitted)