ENH: Simplify error message for invalid set(... CACHE) calls to make it look nicer with new message format.