They probably reverse-engineered it from damaged and abandon Garlean machines. Between 1.# and 2.# we've destroyed a veritable standing army's worth of Garlean arms. The fact we don't have Garlean rifle wall furnishings is more surprising than goblins tooling around in magitech.