Added more exit points to build_appimage.sh so we know where it failed