Prevent nil from being passed to Regex.run