Fixing stub path replacing Phar path.