Because `system` doesn't throw an exception if the command fails; it just returns a falsey value. This command is checking if Composer is already installed, and if it isn't then `composer --version` will fail. Apparently `not_if` does throw an exception if the command fails.