Duplicated call of doInstall() method for dev mode.

It seems like the code contains duplicated call of doInstall(): if $this->devMode == true, the doInstall() will be called twice. If it must not be done, I have attached respective pull request.