Add warning when using known problematic variables in package promise.

Discovered while writing acceptance tests for package promises, and
very hard to understand what's going on unless you get this warning.