Map Env.removeAll and Env.linked to URLs for the REST API
Fix package.json pretest command