fixes broken run/debug actions when having no file selected (see FUSETOOLS-1165)