Only repopulate memcached if no error with #get

this catches the error for whitespace in a get call

- [ ] Closes #1352