Is that because mkdir has already made the directory?

Print out the full paths to each and see if they are the same.