fix app package cleanup when no bits are uploaded