Fix repo sync for uncommitted changes

Some repos (hardware/atheros/ath6kl-compat) generates .config and .o files in repo
instead of $OUT folder, so repo sync fails.

This fix adds 2 more parameter to check_result (exit_die and rm_roomservice)

Repo sync is called 3 times to fix uncommitted changes