How to detect when an antenna is not connected
Looking at the GM862 hardware guide (located here), Telit indicates that their module has a built-in current measurement circuit for the GPS antenna input that is readable by AT commands.  Using this, you should be able to read whether or not current is being drawn which should indicate whether or not your antenna is connected or you're experiencing a short circuit.