install composer packages breaks with Invalid only_if/not_if command: true (TrueClass)

fixed install composer packages breaks with Invalid only_if/not_if command: true (TrueClass)