Hi Raspi,
m^0 raises each element of the matrix to the power 0, which causes the Indeterminate. Use MatrixPower.
m^0
0
Indeterminate
MatrixPower
MatrixPower[m, 0] (* {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}} *)