I'm pretty sure that he did know that they were nearby. As for why he still gave his warning - maybe its a classic case of gunslinger underestimation? He, along with his Boss's, may have felt that...