Fix errors when block type installDB sql returns empty sql and check if on update required xslt_create -function exists to perform proper error message.