Is there any chance you could write a unit test that would cover this branch of the 'if'?