Run machine and instanceData upgrade steps at machine agent startup

This is a dirty hack but without this nothing works and the agent
doesn't get to the point of being to able to run upgrade steps.