The following patch fixes the problem of being unable to install an instance that does not contain the default name described in the following TRAC ticket: