Remove useless check for empty $TEMPLATE