Add `revision` into Generic.get_inventory script

Merged Dmitry Lukhtionov requested to merge generic_inventory into master

Merge request reports