Restore packages directory