Fixing $homedir in cron/base