- test.test_oscargs: added testcase for a nonexistent pkg with a trailing slash

If /path/to/prj/nonexistent/ is specified, the package attribute of the info
object should be set to "nonexistent".
- oscargs: handle nonexistent package argument with a trailing slash
- oscargs: removed superfluous assignments