When generating images, ensure the right version of R is used on
ebi-forecast by setting PATH before calling the R script.  This
completes Redmine issue #1489.