Change the file detection so it detects any file within an nagios dir.

If your nagios files are stored in a git repository, then they may not
be within /{etc,local,lib}/nagios.