845941 - Fix relative path checking to not deny paths like prefix and prefix-1/foo