Make Composer task idempotent

Composer will now only show something other than "ok" when the task
fails.