Local minimizers in absence of ground states for the critical NLS energy on metric graphs