fix(admin module): no crash on empty theme

If a theme does not have a JSON file or it is not readable to the
point where it has a type, then do not fail the admin module.