Fixed vm hanging on post-install routines