fixed custom command without selection does not run

Perform command action even when no files selected if command does not
contain keyword.