Support nixos command-not-found handler

NixOS uses non standard path for command-not-found handle without support for empty (--) arguments.