Improved exception message when wrong repository is used to manage given entity (resolves #23)