Missing default profile sometimes caused error

In particular, instance roles failed to be used.