How to get snapd to work with external mounts?

just for reference:

and the corresponding commit is: