Retrieve script path within script instead of params block

Fixes https://github.com/psake/psake/issues/95.