Now that I look at this... I wonder if it's correct to just return an empty string like this or rather some condition should be raised instead.