Test: * Added new test case for issue #338, where package installation would fail when the `srcDir` path ended in a directory separator.