Fix crash due to racing
Draft implementation of Move Package Cache dir