Fixed issue with update script breaking when the updates contains new directories and fixed a bad cache path.
Fixed issue with update script breaking when the updates contains new directories and fixed a bad cache path.

rcdelfin/mautic,rcdelfin/mautic,rcdelfin/mautic