if ( !file.isAbsolute() && file.getPath().startsWith( File.separator ) )
{
userSettings.setLocalRepository( file.getAbsolutePath() );
}
}
<BUG>if ( hasErrors( problems ) )
</BUG>
{
<BUG>throw new SettingsBuildingException( problems );
</BUG>
}

if ( !file.isAbsolute() && file.getPath().startsWith( File.separator ) )
{
userSettings.setLocalRepository( file.getAbsolutePath() );
