fixes #4186: foreman-rake db:seed fails in 1.4rc2

fixes "Unable to create medium: Path has already been taken" in #4186.