Police have addressed the media after a woman was threatened by a man armed with a gun in Sydney's west.