The man accused of killing North Hobart shopkeeper Voula Delios had originally intended to target a nearby Muslim prayer room, but found it empty, a court hears.