Add more logging when repacking app fails