fix race condition with packin ls command