Yep, 'location' attr isn't mandatory, but it is filled for all of our input plugins that deal with local files. I think rather than checking `if not entry['url'].startswith('file:')` we can just check, `if not 'location' in entry`, then after use entry['location'] rather than extracting the path from the url.