Small fix for the "src" tool when passing a module name without version
Small change to allow access to the destination path (#1035)
Added tests for #1035