fix a bug with sourcelinks being empty strings instead of None/NULL

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>