Stopped the bundle registry crashing on malformed bundle id's

The offending activities will not show in the favourites but will show in the list view. They don't seem to cause a crash. Tested on record, read and pippy. Ticket: http://bugs.sugarlabs.org/ticket/4634