Fix sequence of called functions in devstack plugin

Change-Id: Iaa29b4402c044e1ca5ca632fbc11509b2e6f4865
Closes-Bug: #1290092
Merge "Fix sequence of called functions in devstack plugin"