There are a couple of minor quoting issues with the new localmount. Additionally, there is a use of echo which is unsafe, especially if portability is a concern.
Attaching a patch in next comment.
Created attachment 331846 [details, diff]
The echo line is already being edited in this patch to fix quoting, so I don't see the point in a separate patch. Pretty minor in any case.
This has been applied in commit 8d61d03. Thanks for the report.