Fixes bug that cleared pack directories