Find bundle id automatically only if not provided