Fixed crash when invalid path was given to option `-m`.