added getBundle method to MappingCollector

Before it used to check only the main bundle he's loading documents from, so if object was set on bundle that didn't exist, error wasn't clear. Now it is.