Remove the trailing slash from the backup path before checking it's validity

Fixes an edge case where setting the backup path to root would cause issues.