Switched if statement because it is more reliable to test against the existance of the composer template folder