Add unpackaged_files_terminate_build flag to avoid mutual dependency between repositories

Change-Id: I8cb4b00b8a389f5e49b206276337a153144da46e