Improve extraction of path for #init.
Merge pull request #286 from ucarion/spaces-in-args

Improve extraction of path for #init.