This could be changed to:

Dir['#{location}/#{app}{,-*}.conf"]