Allow extra file refs to be defined in opts and saltfile per #9878

#9878