Added mechanism to force online scanning only if no valid files are
found