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

http://facepunch.com/showthread.php?t=1388644