Handle case where state.src is None