Catch no path specified error in import disk.

Ticket: #6846