I'm not sure it has anything to do with the bug. You have to fully explore the base in order to exit through the door. If you walk around long enough there will be a walkway which leads to a room which blows up. An officer and his accompanying escorts will enter. After they're dead, search the bodies to grab a key and exit through the exit on the right, past the fire. Kill the commando at the end of the hallway, use the key, and proceed through. You can now exit.
"Size matters not."-Yoda
"There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force"-the Jedi Code