If parameter -d could not be accessed, issue warning and process single file

Change-Id: Id65e4e1c2c16f6a7d89475892b6a2db7afb3acff