Sirius did not come in front of Lupin till the end of POA. So Lupin had no reason to know that Sirius was so close to Hogwarts. I also think that there was some doubt in Lupins mind about Sirius' guilt, which is why he didnt inform the authorities about Sirius' animagus form.