better response code for versions endpoint

if the project doesn't exist 404 is returned instead of empty versions tag