handle relative path in package.spm.main

https://github.com/spmjs/spm/issues/818