detect if Composer returned unsuccessful exit code

missed removing extra echo in last commit