It's a generic strange-ness, since just double clicking on the sparse image file to mount it from finder behaves identically. It mounts OK, just takes significantly longer than it used to.
I wait a day (as you suggested
) and see if SD has a longer timeout for the mount. I assume you have a time out which is exceeded and that's why it fails when run from a script.
Ed