When upgrading Statamic I got this upgrade error:

Couldn't install dependencies.
The command "php composer.phar update erin-dalzell/mailchimp --prefer-dist --no-dev --optimize-autoloader" failed. Exit Code: 127(Command not found) Output: ================ Error Output: ================ sh: : command not found

I removed the folder Mailchip and the upgrade went fine afterwards. Then I placed the folder back in the add-ons folder and used php please update:addons, resulting in a successful Dependencies updated! message.

Is this the normal way when upgrading?