Change the way envtype is determined.  Using /usr/local/cpanel/bin/envtype now instead of
reading /var/cpanel/envtype (which may not exist).