FAIMS-859: fixed bug with checkupdates cron script