It looks like the current logic requires the spectral index that was used be specified to work. However, this is not specified in the code.
The reason for this behavior is that getChangeMap function attempts to "un-invert" the magnitudes of change in spectral values that require inversion. To do this, it needs a band to be specified.