Fixed regex in drive test

was testing for .lin(x|y) but GUI produces also files with ending
.new_linx. Changed regex to check for lin(x|y) (without dot)
Fixed bug in drive

See BBGUI-12 (https://its.cern.ch/jira/browse/BBGUI-12)