Fix getting option value from configuration