The maintenance script was introduced in I0f79b84ef3903756353c66d3c3ee7e492c60e648 and replaced among others 'maintenance/resources/update-ooui.sh'.
When updating OOUI in core to v0.28.1 we've run into the issue that it's not fully clear how to go forward in a non-Vagrant installation with it.
Also, in a Vagrant installation environment it returned with access errors.