skip glob search if path is an existing file and not a directory (#5246)
skip glob search if path is an existing file and not a directory (#5246)

Signed-off-by: Roger Steneteg <99112035f07ee636a3f695e5b1d41c9e3599e528@ea.com>
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki