Fix: get back the share directory so pack and modules can be installed without problems. Fix #1413