Replaced nullptr's with empty functions_ DON'T MERGE YET

Replaces those nullptr's in apt.cpp with empty functions that return an error log. makes implementing the functions much quicker. any input on the matter would be good.
bad indentation.