provider/openstack: Avoid nil deref in testcase

Rather than poking an err.Error() return to remove newlines
before matching, use err directly but use a regexp flag so
dot will match newlines.