Unlock directory if install failed