Added check for installation phase, this fixes the message of a missing template...