Add check if rebase is needed on review

Change-Id: I63d3334b8ae9d952bfe273d0709aefdcd560a0a4
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>