added check for empty list name

http://rcondev.myjetbrains.com/youtrack/issue/RCSRV-46