Fix exception when first / is followed by return.

This chucked a pattern match failure as when return is pressed, the last
isearch regex is asked for and someone was pattern matching with Just
instead of properly checking the value.