Give more helpful error when POPIT_API_URL not set

closes #883