It probably has to do with your site definition. It tries to look at your local and remote root settings and create the proper path. You may be confusing it somehow with your structure or it may be bad site settings. It is not a known issue, so you may want to try posting a support incident.