check commit is in common generic

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