Fix NPE in external eval job (closes #578)

If a test user does not have a training history, we should return an empty training history instead of null.