Fixed issue with spaces in bundle_ids - issue #4634

Fixed the issue in the bundle registry file where a space in the bundle_id would cause a ValueError and result in that app not being displayed on the home screen. The error is logged and the space replaced with a dot.