Fix templates work-disable-xxx when property nuxeo.instance.type is not defined.
PR for master: #879
PR for master: #899