Fixes #3654 - Fix unexpanded variables from installed cron file