Fix CodePlex 744

Return the display name in an error message if set.