DATAREST-353 - Fixed potential NullPointerException when trying to delete a non-existing resource.

We now correctly return a 404 Not Found in case we receive a DELETE request for a resource not existing.