Fix JPATH_BASE use

Fixes a use of JPATH_BASE that slipped in because of how my last series of PRs were set up.