fix requests without object_name

Guys, last pull request throw error, when object_name isn't present in request. This fix it.
Please, merge it as soon as possible.