Move source open check to after open attempt