Exit after spark image build

Change-Id: Ia8af35535a61e6924cf17ec8d7eb717f63d4052c