A search for Galactic transients disguised as gamma-ray bursts