Fixes #4634, issue where spaces in bundle ids crashed sugar