Fixed issue with spaces in bundle_ids - issue #4634

Replaced the ValueError creating code with a function that logs the issue and replaces spaces with dots. Fixes the issue where those apps would crash the indexer and not display on the homepage. Solved as part of GCI.