Fix AttributeError exception in autoscaling

Use the nested() method instead of directly accessing the _nested
attribute which isn't always initialized.

Fixes bug #1220737
Change-Id: I9f36d98e91d5175b354e423d7159e690b1e5b696