Compatibility with last limpyd updates

- get rid of get_pk
- use DoesNotExist instead of ValueError when needed