Unhandled exception running when running in SSIS

Fix to Environment.GetCommandLineArgs()[0] returning null when running
inside and Integration Service Package (SSIS), and thereby causing
Path.GetDirectoryName(applicationNameAndPath) to throw an argument
exception.