Add a comment to clarify that the use of '${1%/}' is not necessary.