[DPLM][RELEASER] Replace pwd by dirname in release script