with.pkg_ref function

Evaluate an expression in the context of a pkg_ref