No slashes on the end
Add "/dev" suffix after removing slash and not before