[backend] BSSrcdiff: simplify gem handling