handle comma amend-source values in a reasonable way

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>