Modify grep command to correctly check file contents

`initmemory` and `maxmemory` were being added to `neo4j-wrapper.conf` on each puppet run because `grep` wasn't actually checking the file for their existence.