Fix undefined in the output
Print some message even when no entry is found