This happens when you set the CDPATH env var. Maybe you did that by accident (check your command history to know for sure)
CDPATH