scripts/release: fix license files paths

The previous version only worked when the script was run from
the root source directory

Part-of: <!168>
7 jobs for 1.18 in 13 minutes and 51 seconds (queued for 1 second)