Fix bug in local package installation.