autoadd: fix action if no location given