Ensure `expose` path is absolute

Fixes #1020.
7.0.3