Return to the previous dir after installing plugins.