I've not seen a recurrence since my initial work around, to be honest, so I never got to the bottom of it.

It does seem a strange one, doesn't it? Perhaps some kind of timing issue/race condition and the wrapper simply adds a couple of milliseconds delay whilst it fires up bash?

Difficult to see where it could be coming from, though.