SCVMM - Separate out Template and VM inventory retrieval.

We should not try to gather network and DVD inventory for templates. Easiest way to handle this is to create a separate simple method for templates.
Small nitpick:  can you align the closing brace with the `if`?