Refs#19360 Fix migration script, support both migrtated obj and not migrated with same code

Handle non migrated blob_path objects (so we wont run two lengthy migtations...)