[geany/geany-plugins] b7b467: debugger: Consolidate code for selecting the target file