Fixed gmod_admin_cleanup and gmod_cleanup errors when run in a dedicated server console.