loader: Fixed not retrieving atlas name correctly.