Fixed bug where awesome-freedesktop crashes when program name is null.

awesome-freedesktop would throw an exception and cause awesome to not start properly on my system. I determined that the problem was a program with a null name. While this should never be the case, it is a good idea to check for this to prevent awesome from crashing.