Conditionally resolve sources