Don't deref nil in bulk load of new index.

Fix a dereference of nil in the bulk load script which happened if there
was no existing index with the same alias before the script ran.