fix path to SoftHSM PIN
handle cases where exported was run from command line