fixing an issue with geting objects in the root folder

Implements: blueprint powershell-cli-compat
Change-Id: I080d5bf0712f729e2eacda997d9669a67490c3cb