fixed dateutil returning the current date for an empty str