Deductions & credits

If you excluded the entire foreign income then you have ZERO federal tax owed on that amount thus you don't get a foreign tax credit  at all ... your tax is already at zero and the credit is NOT refundable.