Make is_command only return true if argument is an executable file.

This should fix alias l doing the wrong thing if l was previously defined as an alias.