Fix live browser id array leak

When researching adobe/brackets#3243, I noticed that undefined live browser ids are never used or removed from liveBrowserOpenedPIDs array, so I added a check to prevent adding them to array.